package com.xqzgj.system.domain;

import com.xqzgj.common.annotation.Excel;
import com.xqzgj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仓库信息对象 stock_warehouse
 */
public class StockWarehouse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 仓库ID */
    private Long id;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库类型（1普通仓 2虚拟仓 3代管仓 4其他） */
    @Excel(name = "仓库类型", readConverterExp = "1=普通仓,2=虚拟仓,3=代管仓,4=其他")
    private String warehouseType;

    /** 仓库面积（平方米） */
    @Excel(name = "仓库面积")
    private Double warehouseArea;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 仓库联系人 */
    @Excel(name = "仓库联系人")
    private String warehouseContact;

    /** 仓库电话 */
    @Excel(name = "仓库电话")
    private String warehousePhone;

    /** 仓库状态（0停用 1正常） */
    @Excel(name = "仓库状态", readConverterExp = "0=停用,1=正常")
    private String status;

    /** 仓库管理员ID */
    @Excel(name = "仓库管理员ID")
    private Long managerId;

    /** 仓库管理员姓名 */
    @Excel(name = "仓库管理员姓名")
    private String managerName;

    /** 仓库备注 */
    private String warehouseRemark;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseType(String warehouseType) {
        this.warehouseType = warehouseType;
    }

    public String getWarehouseType() {
        return warehouseType;
    }

    public void setWarehouseArea(Double warehouseArea) {
        this.warehouseArea = warehouseArea;
    }

    public Double getWarehouseArea() {
        return warehouseArea;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseContact(String warehouseContact) {
        this.warehouseContact = warehouseContact;
    }

    public String getWarehouseContact() {
        return warehouseContact;
    }

    public void setWarehousePhone(String warehousePhone) {
        this.warehousePhone = warehousePhone;
    }

    public String getWarehousePhone() {
        return warehousePhone;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setManagerId(Long managerId) {
        this.managerId = managerId;
    }

    public Long getManagerId() {
        return managerId;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setWarehouseRemark(String warehouseRemark) {
        this.warehouseRemark = warehouseRemark;
    }

    public String getWarehouseRemark() {
        return warehouseRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("warehouseCode", getWarehouseCode())
                .append("warehouseName", getWarehouseName())
                .append("warehouseType", getWarehouseType())
                .append("warehouseArea", getWarehouseArea())
                .append("warehouseAddress", getWarehouseAddress())
                .append("warehouseContact", getWarehouseContact())
                .append("warehousePhone", getWarehousePhone())
                .append("status", getStatus())
                .append("managerId", getManagerId())
                .append("managerName", getManagerName())
                .append("warehouseRemark", getWarehouseRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}